Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Converting Points from Cartesian to Polar or Spherical Form


Q3Point2D_ToPolar

You can use the Q3Point2D_ToPolar function to convert a two-dimensional point from Cartesian form to polar form.

TQ3PolarPoint *Q3Point2D_ToPolar (
const TQ3Point2D *point2D, 
TQ3PolarPoint *result);
point2D
A two-dimensional point.
result
On exit, a polar point.
DESCRIPTION
The Q3Point2D_ToPolar function returns, as its function result and in the result parameter, a polar point that is the same point as the two-dimensional point specified by the point2D parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996